package com.nf;

import javafx.application.Application;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class PintService {
    public static void main(String[] args) {
        ApplicationContext applicationContext =
                new ClassPathXmlApplicationContext("applicationContext.xml");
        //UserService user = (UserService)applicationContext.getBean("user");
        UserService user=applicationContext.getBean("user",UserService.class);
        user.m1();


    }
}
